package #(projectPackage ??);

import com.jfinal.config.Routes;
import #(projectPackage ??).controller.IndexController;
#for(meta : metas)
import #(projectPackage ??).controller.#(meta.claUpName??)Controller;
#end

public class #(rootRouteUpName)Routes extends Routes{

	@Override
	public void config() {
		setBaseViewPath("/WEB-INF/pages");
		add("/",IndexController.class,"/#(rootRouteLowName)/index");
	#for(meta : metas)
	    add("/#(rootRouteLowName ??)/#(meta.claLowName??)", #(meta.claUpName??)Controller.class,"/#(rootRouteLowName)/#(meta.claLowName??)");
	#end
	
	}

}
